package com.admin.education.dataTransferObject.user.Request;

import com.admin.education.common.exceptions.BadRequestException;
import com.admin.education.common.utils.InjectUtil;
import com.admin.education.models.*;
import com.admin.education.repositories.RoleRepository;
import com.admin.education.repositories.SchoolsRepository;
import com.querydsl.jpa.impl.JPAQuery;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.Length;
import org.springframework.context.ApplicationContext;

import javax.validation.constraints.NotBlank;

public class BindingInformationRequest {
    @Getter
    @Setter
    private long classId;
    @Getter
    @Setter
    private long schoolId;
    @Getter
    @Setter
    private long roleId;
    @NotBlank
    @Length(max = 128)
    @Getter
    @Setter
    private String studentId;
    @Setter
    @Getter
    @NotBlank
    @Length(max = 128)
    private String headImgPath;
    @NotBlank
    @Length(max = 128)
    @Getter
    @Setter
    private String name;
    private QRole qRole = QRole.role;
    private QClasses qClasses=QClasses.classes;
    private QSchools qSchools =QSchools.schools;


}
